package com.storeselector.storemanagement

class Store {

	String name
	String abbreviation
	String address
	String city
	String state
	int zip
	String phone
	static hasMany = [products:Product]
	
    static constraints = {
		name nullable: false, blank:false
		abbreviation nullable: true, blank: true
		address nullable: false, blank: false, maxSize: 100
		city nullable: false, blank: false
		state nullable: false, blank: false
		zip nullable: false, blank: false
		phone nullable: false, blank: false, maxSize: 10
    }
}
